mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
-Respect CFLAGS
-Add -fPIC
This commit is contained in:
parent
843277c314
commit
cb27d133b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84417
20
audio/xmms-mailnotify/files/patch-Makefile.in
Normal file
20
audio/xmms-mailnotify/files/patch-Makefile.in
Normal file
@ -0,0 +1,20 @@
|
||||
--- Makefile.in.orig Sat Feb 2 23:47:13 2002
|
||||
+++ Makefile.in Tue Jul 8 01:42:36 2003
|
||||
@@ -3,7 +3,7 @@
|
||||
CC = @CC@
|
||||
INSTALL = @INSTALL@
|
||||
LIBS = @LIBS@
|
||||
-CFLAGS = -O -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
|
||||
+CFLAGS+= -fPIC -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
|
||||
LDFLAGS = @LDFLAGS@ $(LIBS) -shared
|
||||
PREFIX = @prefix@
|
||||
INSTALLPATH = @libdir@
|
||||
@@ -32,7 +32,7 @@
|
||||
$(INSTALL) alert.wav $(INSTALLPATH)
|
||||
|
||||
mailnotify: $(OBJS)
|
||||
- $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS)
|
||||
|
||||
mailnotify.o: mailnotify.c
|
||||
|
Loading…
Reference in New Issue
Block a user