aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libsmacker
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-20 06:10:28 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-20 06:10:28 +0000
commit96d948b51697e59621904163276f22c1e1c1e67e (patch)
tree979f1f3e9b86bb800032f90b0e50f3962893f7b9 /multimedia/libsmacker
parent0a3939d8011dcb5b82051498705fd9151ef46574 (diff)
downloadports-96d948b51697e59621904163276f22c1e1c1e67e.tar.gz
ports-96d948b51697e59621904163276f22c1e1c1e67e.zip
Notes
Diffstat (limited to 'multimedia/libsmacker')
-rw-r--r--multimedia/libsmacker/Makefile1
-rw-r--r--multimedia/libsmacker/files/patch-Makefile11
2 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/libsmacker/Makefile b/multimedia/libsmacker/Makefile
index 4163ae43f5f4..8ca3c5af08e0 100644
--- a/multimedia/libsmacker/Makefile
+++ b/multimedia/libsmacker/Makefile
@@ -13,7 +13,6 @@ USE_LDCONFIG= yes
PLIST_FILES= lib/libsmacker.so
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} '/CFLAGS/s|+=|?=|; s|gcc|${CC}|g' \
${WRKSRC}/Makefile
diff --git a/multimedia/libsmacker/files/patch-Makefile b/multimedia/libsmacker/files/patch-Makefile
new file mode 100644
index 000000000000..cb2148e485a3
--- /dev/null
+++ b/multimedia/libsmacker/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-06-20 14:07:17.225595274 +0800
++++ Makefile 2014-06-20 14:07:25.329596116 +0800
+@@ -9,7 +9,7 @@ LDFLAGS += -pipe -L.
+ all: libsmacker.so
+
+ install: libsmacker.so
+- cp libsmacker.so ${PREFIX}/lib/libsmacker.so
++ cp libsmacker.so $(DESTDIR)${PREFIX}/lib/libsmacker.so
+
+ uninstall: libsmacker.so
+ rm -f ${PREFIX}/lib/libsmacker.so