[87177] trunk/dports/devel/t1lib

ryandesign at macports.org ryandesign at macports.org
Sat Nov 12 20:26:28 PST 2011


Revision: 87177
          http://trac.macports.org/changeset/87177
Author:   ryandesign at macports.org
Date:     2011-11-12 20:26:26 -0800 (Sat, 12 Nov 2011)
Log Message:
-----------
t1lib: fix build error "unable to infer tagged configuration"; see #29937

Modified Paths:
--------------
    trunk/dports/devel/t1lib/Portfile

Added Paths:
-----------
    trunk/dports/devel/t1lib/files/patch-libtool-tag.diff

Modified: trunk/dports/devel/t1lib/Portfile
===================================================================
--- trunk/dports/devel/t1lib/Portfile	2011-11-13 04:16:45 UTC (rev 87176)
+++ trunk/dports/devel/t1lib/Portfile	2011-11-13 04:26:26 UTC (rev 87177)
@@ -28,7 +28,8 @@
                     sha1 4b4fc22c8688eefaaa8cfc990f0039f95f4287de \
                     rmd160 ab22aea390356750d743c0f4b08762aa76ca2a82
 
-patchfiles          patch-01-buffer-limit
+patchfiles          patch-01-buffer-limit \
+                    patch-libtool-tag.diff
 
 configure.args      --without-x
 

Added: trunk/dports/devel/t1lib/files/patch-libtool-tag.diff
===================================================================
--- trunk/dports/devel/t1lib/files/patch-libtool-tag.diff	                        (rev 0)
+++ trunk/dports/devel/t1lib/files/patch-libtool-tag.diff	2011-11-13 04:26:26 UTC (rev 87177)
@@ -0,0 +1,109 @@
+--- examples/Makefile.in.orig	2007-12-23 09:49:43.000000000 -0600
++++ examples/Makefile.in	2011-11-12 22:19:50.000000000 -0600
+@@ -75,6 +75,7 @@
+ .SUFFIXES: .lo
+ .c.lo:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) $(INCDIR) -c $(CPPFLAGS) $(CFLAGS) $<
+ 
+ all: $(TARGET1) $(TARGET2) 
+@@ -82,14 +83,17 @@
+ 
+ $(TARGET1): $(OBJS1) ../lib/t1lib.h
+ 	$(LIBTOOL) --mode=link \
++		--tag=CC \
+ 		$(CC) -o $(TARGET1) $(LDFLAGS) $(OBJS1) $(T1LIB) $(LDLIBS)
+ 
+ $(TARGET2): $(OBJS2) ../lib/t1lib.h
+ 	$(LIBTOOL) --mode=link \
++		--tag=CC \
+ 		$(CC) -o $(TARGET2) $(LDFLAGS) $(OBJS2) $(T1LIB) $(LDLIBS)
+ 
+ .c.o:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) $(INCDIR) -c $(CPPFLAGS) $(CFLAGS) $?
+ 
+ .PHONY: clean
+--- lib/Makefile.in.orig	2007-12-23 09:49:42.000000000 -0600
++++ lib/Makefile.in	2011-11-12 22:20:11.000000000 -0600
+@@ -127,6 +127,7 @@
+ 
+ libt1.la: $(TYPE1_OBJS) $(T1LIB_OBJS)
+ 	$(LIBTOOL) --mode=link \
++		--tag=CC \
+ 		$(CC) $(LDFLAGS) -o $@ $(TYPE1_OBJS) $(T1LIB_OBJS) \
+ 	         -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \
+ 		 -lm -no-undefined -rpath $(libdir)
+@@ -135,6 +136,7 @@
+ 
+ libt1x.la: $(T1LIBX_OBJS)
+ 	$(LIBTOOL) --mode=link \
++		--tag=CC \
+ 		$(CC) $(LDFLAGS) -o $@ $(T1LIBX_OBJS) \
+ 	         -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \
+ 	         libt1.la $(X_LIBS) $(XPM_LIB) $(XLIB)  -no-undefined -rpath $(libdir) 
+--- lib/t1lib/Makefile.in.orig	2007-12-23 09:49:42.000000000 -0600
++++ lib/t1lib/Makefile.in	2011-11-12 22:20:21.000000000 -0600
+@@ -77,10 +77,12 @@
+ .SUFFIXES: .c .o .lo
+ .c.lo:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+ 
+ .c.o:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $< 
+ 
+ all: $(OBJS) $(XOBJS)
+--- lib/type1/Makefile.in.orig	2007-12-23 09:49:42.000000000 -0600
++++ lib/type1/Makefile.in	2011-11-12 22:20:28.000000000 -0600
+@@ -76,10 +76,12 @@
+ .SUFFIXES: .c .o .lo
+ .c.lo:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+ 
+ .c.o:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $< 
+ 
+ 
+--- type1afm/Makefile.in.orig	2007-12-23 09:49:43.000000000 -0600
++++ type1afm/Makefile.in	2011-11-12 22:20:37.000000000 -0600
+@@ -70,11 +70,13 @@
+ 
+ type1afm: $(OBJS) ../lib/t1lib.h
+ 	$(LIBTOOL) --mode=link \
++		--tag=CC \
+ 		$(CC) -o type1afm $(LDFLAGS) $(OBJS) $(T1LIB) $(LDLIBS)
+ 
+ .SUFFIXES: .lo
+ .c.lo:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+ 
+ .PHONY: clean
+--- xglyph/Makefile.in.orig	2007-12-23 09:49:43.000000000 -0600
++++ xglyph/Makefile.in	2011-11-12 22:20:47.000000000 -0600
+@@ -73,12 +73,14 @@
+ 
+ xglyph: $(OBJS) $(T1LIBX) $(T1LIB)
+ 	$(LIBTOOL) --mode=link \
++		--tag=CC
+ 		$(CC) -o xglyph $(LDFLAGS) $(OBJS) $(T1LIBX) $(T1LIB) \
+ 			        $(X_LIBS) $(XAWLIB) $(XLIB) $(LDLIBS)
+ 
+ .SUFFIXES: .lo
+ .c.lo:
+ 	$(LIBTOOL) --mode=compile \
++		--tag=CC \
+ 		$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111112/ab1ce6e7/attachment.html>


More information about the macports-changes mailing list